home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 8898 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.6 KB  |  64 lines

  1. Newsgroups: comp.lang.c++
  2. Path: lade.news.pipex.net!pipex!bt!btcase!Pearl
  3. From: muthu@mbtpost.agw.bt.co.uk (Muthu Kumar)
  4. Subject: Re: What is "void CAClass::CBClass::functionname()" ????
  5. Message-ID: <4gu8qk$e8_001@agw.bt.co.uk>
  6. Sender: news@btcase.bt.co.uk (USENET News System)
  7. Organization: MBT
  8. X-Newsreader: News Xpress Version 1.0 Beta #4
  9. References: <leetn-2602961058380001@192.43.251.144>
  10. Date: Tue, 27 Feb 1996 06:37:08 GMT
  11.  
  12. In article <leetn-2602961058380001@192.43.251.144>,
  13.    leetn@ccmail.apldbio.com (tlee) wrote:
  14. >Path: 
  15. btcase!bt!btnet!tank.news.pipex.net!pipex!howland.reston.ans.net!newsfeed.inte
  16. rnetmci.com!primus.ac.net!news.cais.net!news.supernet.net!vivaldi.inoc.dl.nec.
  17. com!jpgate.inoc.sj.nec.com!nntp-hub.barrnet.net!biosys!NewsWatcher!user
  18. >From: leetn@ccmail.apldbio.com (tlee)
  19. >Newsgroups: comp.lang.c++
  20. >Subject: What is "void CAClass::CBClass::functionname()" ????
  21. >Message-ID: <leetn-2602961058380001@192.43.251.144>
  22. >Date: 26 Feb 96 18:58:38 GMT
  23. >Sender: news@biosys.apldbio.COM
  24. >Lines: 8
  25. >Status: N
  26. >
  27. >
  28. >   I saw this syntax first time in MSVC++, MFC 4.0 source code.   
  29. >They are all over the code relates to the OLE.
  30. >
  31. >Is this C++ standard or just some microsoftism?
  32. >
  33. >   -Tony
  34.  
  35. If you have nested classes, this is the syntax to invoke
  36. a method of inner class.
  37.  
  38. class  A
  39. {
  40.     class B
  41.     {
  42.         Memeber();
  43.     };
  44. };
  45.  
  46. A::B::Member()
  47. {
  48.     ...
  49. }
  50.  
  51.  
  52.  
  53. =~=~=~=~=~=~=~=~=~=~==~=~=~=~=~=~=~=~=
  54. K. Muthu Kumar
  55. 14 Shreeji Apartments,
  56. Kondi Vitta Village,
  57. Bombay - 59.
  58. INDIA.
  59. Ph: (O) +91-22-836 78 42
  60.     (R) +91-22-839 08 21
  61. Internet: muthu@mbtpost.agw.bt.co.uk
  62. =~=~=~=~=~=~=~=~=~=~==~=~=~=~=~=~=~=~=
  63.